

            
// This code is a generated code by a tool
// designed and coded by Shohdi Mohamed Elsheemy ( shohdi@gmail.com )

            
using System;
using System.Collections.Generic;
using System.Web;
namespace DatabaseComponent
{
[Serializable]
public partial class Folders
{
System.Int64 _ID =-1;
public System.Int64 ID
{
get { return _ID;}
set { _ID = value;}
}
System.String _FolderNameAR ="";
public System.String FolderNameAR
{
get { return _FolderNameAR;}
set { _FolderNameAR = value;}
}
System.String _FolderNameEN ="";
public System.String FolderNameEN
{
get { return _FolderNameEN;}
set { _FolderNameEN = value;}
}
System.Int64? _ParentID =null;
public System.Int64? ParentID
{
get { return _ParentID;}
set { _ParentID = value;}
}
System.Int64 _StatusID =-1;
public System.Int64 StatusID
{
get { return _StatusID;}
set { _StatusID = value;}
}
public Folders()
{
}
public Folders(System.String __FolderNameAR,System.String __FolderNameEN,System.Int64? __ParentID,System.Int64 __StatusID)
{
_FolderNameAR = __FolderNameAR;
_FolderNameEN = __FolderNameEN;
_ParentID = __ParentID;
_StatusID = __StatusID;
}
public Folders(System.Int64 __ID,System.String __FolderNameAR,System.String __FolderNameEN,System.Int64? __ParentID,System.Int64 __StatusID)
{
_ID = __ID;
_FolderNameAR = __FolderNameAR;
_FolderNameEN = __FolderNameEN;
_ParentID = __ParentID;
_StatusID = __StatusID;
}


             public override bool Equals(object obj)
         {
             if (obj is Folders)
             {
                 Folders newObj = (Folders)obj;

                 if (newObj.ID == this.ID )
                 {
                     return true;
                 }
                 else
                 {
                     return false;
                 }
             }

             else
             {
                 return false;
             }

            
         }            











             }
}
